home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12512 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: array[index]
  5. Date: Mon, 01 Apr 96 11:29:10 GMT
  6. Organization: none
  7. Message-ID: <828358150snz@genesis.demon.co.uk>
  8. References: <4jiies$3bh@fnord.dfw.net>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <4jiies$3bh@fnord.dfw.net>
  15.            ftlgeuse@dfw.dfw.net
  16.            "Azazel Diabolus            (aka Fetelgeuse" writes:
  17.  
  18. >On my platform's assembly language a[n] is the same as n[a]; is this also 
  19. >valid in C? Does array[index] give the same address as index[array]? I 
  20. >will try this after I post it but I would like to know if this is 
  21. >something defined by the ANSI standard. Thanks,
  22.  
  23. Yes, they mean the same thing in C.
  24.  
  25. -- 
  26. -----------------------------------------
  27. Lawrence Kirby | fred@genesis.demon.co.uk
  28. Wilts, England | 70734.126@compuserve.com
  29. -----------------------------------------
  30.